package com.lz.sports.vm.checkmodel

import android.text.Editable
import android.text.TextUtils
import androidx.lifecycle.MutableLiveData
import com.lz.library.base.BaseModel
import com.lz.library.base.BaseViewModel

class CodeGunViewModel : BaseViewModel<BaseModel>() {

    val sureEnabled = MutableLiveData(false)

    fun afterTextChanged(editable: Editable) {
        sureEnabled.value = !TextUtils.isEmpty(editable)
    }

}